<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" th:href="@{/css/login.css}">
    <title>登录</title>
</head>
<body>
<div class="container">
    <h2>登录</h2>
    <form th:action="@{/login}" method="post">
        <div class="input-group">
            <label for="userName">用户名</label>
            <input type="text" id="userName" name="userName" required>
        </div>
        <div class="input-group">
            <label for="password">密码</label>
            <input type="password" id="password" name="password" required>
        </div>
        <input type="hidden" name="aId" th:value="${aId}">
        <input type="hidden" name="isLoginBack" th:value="${isLoginBack}">
        <input type="hidden" name="isArticleDetailLogin" th:value="${isArticleDetailLogin}">
        <button type="submit">登录</button>
    </form>
</div>
</body>
</html>